﻿using System;
namespace Xroad.Eu.Xsd.Identifiers {
    
    
    [System.SerializableAttribute()]
    public partial class XRoadCentralServiceIdentifierType {
        
        private global::Xroad.Eu.Xsd.Identifiers.XRoadObjectType @__objectType = new global::Xroad.Eu.Xsd.Identifiers.XRoadObjectType("CENTRALSERVICE");
        
        private string @__xRoadInstance;
        
        private string @__serviceCode;
        
        public XRoadCentralServiceIdentifierType() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public XRoadCentralServiceIdentifierType(global::Xroad.Eu.Xsd.Identifiers.XRoadObjectType @objectType, string @xRoadInstance, string @serviceCode) {
            this.@__objectType = @objectType;
            this.@__xRoadInstance = @xRoadInstance;
            this.@__serviceCode = @serviceCode;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected XRoadCentralServiceIdentifierType(XRoadCentralServiceIdentifierType @xRoadCentralServiceIdentifierType) {
            this.@__objectType = @xRoadCentralServiceIdentifierType.ObjectType;
            this.@__xRoadInstance = @xRoadCentralServiceIdentifierType.XRoadInstance;
            this.@__serviceCode = @xRoadCentralServiceIdentifierType.ServiceCode;
        }
        
        public virtual global::Xroad.Eu.Xsd.Identifiers.XRoadObjectType ObjectType {
            get {
                return this.@__objectType;
            }
            set {
                this.@__objectType = value;
            }
        }
        
        public virtual string XRoadInstance {
            get {
                return this.@__xRoadInstance;
            }
            set {
                this.@__xRoadInstance = value;
            }
        }
        
        public virtual string ServiceCode {
            get {
                return this.@__serviceCode;
            }
            set {
                this.@__serviceCode = value;
            }
        }
    }
}
